package com.deep.search.service;

import com.deep.common.model.dto.es.SkuEsModel;

import java.io.IOException;
import java.util.List;

/**
 * @author Deep
 * @date 2022/1/24
 */

public interface ProductSaveService {
    /**
     * 商品上架
     *
     * @param skuEsModels 待上架的商品
     * @return true 上架成功，false：有错误
     */
    boolean productUp(List<SkuEsModel> skuEsModels) throws IOException;
}
